package top.xierongsheng.user.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 系统用户表
 *
 * @auther 谢荣生
 * @datetime 2020/12/31 11:04
 */
@Data
@TableName("sys_user")
@Schema(name = "sys_user")
public class SysUser implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private String id;

    private String account;

    private String password;

    private String name;

    private String nickname;

    private Integer status;

    private String creatorId;

    private Date createTime;

    private String updateId;

    private Date updateTime;

    private String idCard;

    private String phone;

    private Integer sex;

    private String roleId;

    private Integer areaId;

    private String areaDesc;
}
